<template>
  <li class="comment-item">
    <div class="comment-item-thumb">
      <img :src="'https://wx.qlogo.cn/mmopen/Q3auHgzwzM7iaPRQcicHvOcDLhN6vy5CibrkMkg4OsfF36zObGCRAqn7bU0WrnRmkh2k489SW17ibIVpTK0Yq6icGqKH4ib6Y6tYSu1q8tpaT4NWY/64'" alt="head">
    </div>
    <div class="comment-item-content">
      <div class="comment-item-header">
        <a class="user-info">化学科技生活</a>
        <span class="time">{{data.create_time}}</span>
      </div>
      <p class="comment-item-body">{{data.content}}</p>
      <div class="comment-item-footer">
        <a class="reply">回复</a>
        <div class="zan">
          <van-icon name="like-o"/>
          <span>180</span>
        </div>
      </div>
    </div>
  </li>
</template>

<script>
export default {
  name: 'CommentItem',
  props:{
    data: {
      type: Object,
      default: () =>({})
    }
  }
}
</script>
